{% load future wenlincms_tags wlcore_tags report_tags %}

<div class="report-box">
    <h3 class="report-title">基本注册信息</h3>
    <table class="report-table">
        <tbody>
        {% if Post.NameHistory %}
            <tr>
                <td class="td1">曾用名：</td>
                <td class="td2" colspan="3">{{ Post.NameHistory }}</td>
            </tr>
        {% endif %}
        <tr>
            <td class="td1">工商注册号：</td>
            <td class="td2">{{ Post.RegNo|elweizhi }}</td>
            <td class="td1">法人代表：</td>
            <td class="td2">{{ Post.LegalRep|elweizhi }}</td>
        </tr>
        <tr>
            <td class="td1">注册资本：</td>
            <td class="td2">{{ Post.RegCap|elfloat:1|elweizhi }} 万</td>
            <td class="td1">注册资本币种：</td>
            <td class="td2">
                {% if Post.RegCapCur %}
                    {{ Post.RegCapCur }}
                {% else %}
                    人民币
                {% endif %}
            </td>
        </tr>
        <tr>
            <td class="td1">经营状态：</td>
            <td class="td2">{{ Post.EntStatus|elweizhi }}</td>
            <td class="td1" style="width: 120px;">企业（机构）类型：</td>
            <td class="td2">{{ Post.EntType|elweizhi }}</td>
        </tr>
        <tr>
            <td class="td1">注册日期：</td>
            <td class="td2">{{ Post.EsDate|date:"Y-m-j"|elweizhi }}</td>
            <td class="td1">经营期限：</td>
            <td class="td2">{{ Post.OpFrom|date:"Y-m-j"|elweizhi }}
                至 {{Post.OpTo|date:"Y-m-j"|elweizhi }}</td>
        </tr>
        <tr>
            <td class="td1">所在地：</td>
            <td class="td2">{{ Post.RegionID|elweizhi }}</td>
            <td class="td1">通讯地址：</td>
            <td class="td2">{{ Post.Dom|elweizhi }}</td>
        </tr>
        <tr>
            <td class="td1">注册机关：</td>
            <td class="td2">{{ Post.RegOrg|elweizhi }}</td>
            <td class="td1">监管工商所：</td>
            <td class="td2">{{ Post.LocalAdm|elweizhi }}</td>
        </tr>
        {% if Post.OriRegNo or Post.RecCap %}
            <tr>
                <td class="td1">原注册号 ：</td>
                <td class="td2">{{ Post.OriRegNo|elweizhi }}</td>
                <td class="td1">实收资本(万元) ：</td>
                <td class="td2">{{ Post.RecCap|elweizhi }}</td>
            </tr>
        {% endif %}
        {% if Post.EmpNum or Post.EntProperty %}
            <tr>
                <td class="td1">员工人数 ：</td>
                <td class="td2">{{ Post.EmpNum|elweizhi }}</td>
                <td class="td1">企业性质 ：</td>
                <td class="td2">{{ Post.EntProperty|elweizhi }}</td>
            </tr>
        {% endif %}
        <tr>
            <td class="td1">联系电话 ：</td>
            <td class="td2">{{Post.Tel|elweizhi }}</td>
            <td class="td1">核准日期 ：</td>
            <td class="td2">{{ Post.ApprDate|elweizhi }}</td>
        </tr>
        <tr>
            <td class="td1">邮箱 ：</td>
            <td class="td2">{{ Post.Emall|elweizhi }}</td>
            <td class="td1">经营场所 ：</td>
            <td class="td2">{{ Post.OpLoc|elweizhi }}</td>
        </tr>
        {% if Post.DomproPright or Post.InsForm %}
            <tr>
                <td class="td1">住所产权 ：</td>
                <td class="td2">{{ Post.DomproPright |elweizhi }}</td>
                <td class="td1">设立方式 ：</td>
                <td class="td2">{{ Post.InsForm|elweizhi }}</td>
            </tr>
        {% endif %}
        {% if Post.ParNum or Post.LimParNum %}
            <tr>
                <td class="td1">合伙人数 ：</td>
                <td class="td2">{{Post.ParNum |elweizhi }}</td>
                <td class="td1">有限合伙人数 ：</td>
                <td class="td2">{{ Post.LimParNum|elweizhi }}</td>
            </tr>
        {% endif %}
        {% if Post.Parform or Post.ExeNum %}
            <tr>
                <td class="td1">合伙方式 ：</td>
                <td class="td2">{{ Post.Parform |elweizhi }}</td>
                <td class="td1">执行人数 ：</td>
                <td class="td2">{{ Post.ExeNum|elweizhi }}</td>
            </tr>
        {% endif %}
        <tr>
            <td class="td1">经济行业分类 ：</td>
            <td class="td2" colspan="3">{{ Post.NicID|elweizhi }}</td>
        </tr>
        {% if Post.SeicId %}
            <tr>
                <td class="td1">战兴产业分类 ：</td>
                <td class="td2" colspan="3">{{Post.SeicId|elweizhi }}</td>
            </tr>
        {% endif %}
        {% if Post.AbuItem %}
            <tr>
                <td class="td1">许可经营项目：</td>
                <td class="td2" colspan="3">{{ Post.AbuItem|elweizhi }}</td>
            </tr>
        {% endif %}
        {% if Post.CbuItem %}
            <tr>
                <td class="td1">一般经营项目：</td>
                <td class="td2" colspan="3">{{ Post.CbuItem|elweizhi }}</td>
            </tr>
        {% endif %}
        <tr>
            <td class="td1" style="width: 120px;">经营（业务）范围：</td>
            <td class="td2" colspan="3">{{ Post.OpsCope|elweizhi }}</td>
        </tr>
        </tbody>
    </table>
</div>

{% if CancelCancel %}
    <div class="report-box hidetrbox">
        <h3 class="report-title">注销信息</h3>
        <table class="report-table ">
            <tr>
                <th width="100">注销日期</th>
                <th width="200">注销原因</th>
                <th width="300">注销机关</th>
            </tr>
            <tr class="hidetr">
                <td>{{ Cancel.CanDate|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ Cancel.CanRea|elweizhi }}</td>
                <td>{{ Cancel.CanAuth|elweizhi }}</td>
            </tr>
        </table>
    </div>
{% endif %}

{% if Revoke %}
    <div class="report-box hidetrbox" id="biangeng">
        <h3 class="report-title">吊销信息</h3>
        <table class="report-table ">
            <tr>
                <th width="100">吊销日期</th>
                <th width="200">违法行为</th>
                <th width="300">吊销依据</th>
            </tr>
            <tr class="hidetr">
                <td>{{ Revoke.RevDate|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ Revoke.IllegAct|elweizhi }}</td>
                <td>{{ Revoke.RevBasis|elweizhi }}</td>
            </tr>
        </table>
    </div>
{% endif %}

<div class="report-box hidetrbox">
    <h3 class="report-title">股东信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ Invs.count|elweizhi:5 }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="220">股东名称</th>
            <th width="100">认缴出资额（万）</th>
            <th width="100">实缴出资额（万）</th>
            <th width="50">出资币种</th>
            <th width="50">出资比例</th>
            <th width="60">出资日期</th>
            <th width="50">出资方式</th>
        </tr>
        {% for res in Invs %}
            <tr class="hidetr">
                {% elcombytitle res.Inv as resobj %}
                {% if resobj %}
                    <td><a class="otherentatag" href="{{ resobj.get_report_url }}{{ res.Inv }}" target="_blank">{{ res.Inv }}</a></td>
                {% else %}
                    <td>{{ res.Inv }}</td>
                {% endif %}
                <td class="cf3">{{ res.SubcoNam|elfloat:1|elweizhi }}</td>
                <td class="cf3">{{ res.AccoNam|elfloat:1|elweizhi }}</td>
                <td>{{ res.Currency|elweizhi }}</td>
                <td class="cf3">{{ res.ConProp|elfloat:3|elweizhi }}</td>
                <td>{{ res.ConDate|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.ConForm|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">高管信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ Managers.count|elweizhi:5 }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th>姓名</th>
            <th>职务</th>
            <th>性别</th>
            <th>出生年份</th>
            <th>任职自</th>
            <th>任职至</th>
        </tr>
        {% for manager in Managers %}
            <tr class="hidetr">
                <td>{{ manager.Name }}</td>
                <td>{{ manager.Position|elweizhi }}</td>
                <td>{{ manager.Sex|elweizhi }}</td>
                <td>{{ manager.Birthday|elweizhi }}</td>
                <td>{{ manager.OffhFrom|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ manager.OffhTo|date:"Y-m-j"|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">注册变更历史</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ Modifys.count|elweizhi:5 }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="100">变更日期</th>
            <th width="200">变更项</th>
            <th width="300">变更前</th>
            <th width="300">变更后</th>
        </tr>
        {% for modify in Modifys %}
            <tr class="hidetr">
                <td>{{ modify.AltDate|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ modify.AltItem|elweizhi }}</td>
                <td>{{ modify.AltBe|elweizhi }}</td>
                <td>{{ modify.AltAf|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<script>
    hidetrbox();
    hrefortab();
</script>
